package com.itheima.Demo01.demo03;

public class RunnableTest {
    public static void main(String[] args) {
        //创建参数对象
        MyRunnable T1 = new MyRunnable();
        //创建线程对象并导入参数对象
        Thread T = new Thread(T1);
        //  开启线程
        T.start();

        MyRunnable T2 = new MyRunnable();
        Thread TT = new Thread(T2);
        TT.start();


    }
}
